import { createApp } from 'vue'

import './style.css'
import App from './App.vue'
import router from './router/index.js'
import './assets/iconfont/iconfont.js'

// import ElementPlus from 'element-plus'

// import 'element-plus/dist/index.css'
// import 'element-plus/theme-chalk/dark/css-vars.css'


import * as ElIcon from '@element-plus/icons-vue'
 

const app =createApp(App)
// app.use(ElementPlus)


app.use(router)
app.mount('#app');

Object.keys(ElIcon).forEach((key) => {
    app.component(key, ElIcon[key])
});  
